﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace InfoLogic.Models
{
    [Table ("Business")]
    public class Business
    {
        [Key]
        public System.Guid BusinessId { get; set; }
        public string BusinessName { get; set; }
        public Nullable<System.DateTime> StartingDate { get; set; }
        public string BusinessType { get; set; }
        public string StreetName { get; set; }
        public int stallNumber { get; set; }
        public string UserId { get; set; }
        public virtual ICollection<Owner> owners { get; set; }
        public virtual ICollection<Product> Product { get; set; }
    }
}